package com.xx.pmis.services;

import java.util.List;

import com.xx.pmis.model.Shop;

public interface ShopService {
	public void saveOrUpdateShop(Shop shop) throws Exception;
	public void saveShop(Shop shop) throws Exception;
	public void deleteShop(Shop shop) throws Exception;
	// 根据商店ID查询该商店
	public Shop getShopByShopID(String shopID) throws Exception;    
	// 查询所有商店
	public List<Shop> getAllShop() throws Exception;
	// 查询所有商店，分页显示
	public List<Shop> getAllShopByPage(int currentPage, int lineSize) throws Exception;
	// 商店数
	public int getCountOfShop() throws Exception;
	// 根据商店类型查询所有商店
	public List<Shop> getAllShopByShopType(String shopType) throws Exception;


}
